cmake_minimum_required (VERSION 2.8)

project (classification_modified)

add_executable(classification_modified main.cpp)

find_package( OpenCV REQUIRED )
include_directories ( 
    /home/mingcongchen/caffe/include    #caffe include path
   ${CMAKE_CURRENT_SOURCE_DIR}/lib
    /usr/local/include
    /usr/local/cuda-9.0/include     #if GPU, cuda path. if not commit this
    /usr/include 
${OpenCV_INCLUDE_DIRS})

target_link_libraries(classification_modified 
    ${CMAKE_CURRENT_SOURCE_DIR}/lib/libclassification.so
    /home/mingcongchen/caffe/build/lib/libcaffe.so  #caffe lib path
    ${OpenCV_LIBS}
    )
